package com.zky.gulimall.order.enume;

/**
 * @Description 支付宝支付完成状态
 * @Author 张开源
 * @Date 2022/12/24 13:23
 * @Version 1.0
 **/
public enum AliPayOrderPayedStatusEnum {
    WAIT_BUYER_PAY("WAIT_BUYER_PAY", "交易创建，等待买家付款"),
    TRADE_CLOSED("TRADE_CLOSED", "未付款交易超时关闭，或支付完成后全额退款"),
    TRADE_SUCCESS("TRADE_SUCCESS", "交易支付成功"),
    TRADE_FINISHED("TRADE_FINISHED", "交易结束，不可退款");
    private String code;
    private String msg;

    AliPayOrderPayedStatusEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
